[AI人工智能] 三、Aanconda, Pycharm 切換py環境


Posted by mike-hsieh on 2024-01-13

不論是開發或是工作,一定會有很多環境在切換,所以這邊紀錄下環境切換的過程。

● pycharm切換環境透過IDE就可以完成,非常輕鬆。






● Anaconda切換環境,就相對複雜。

// 安裝 ipykernel
conda install ipykernel

// 進入環境
activate python38_cuda_conda

// 安裝 kernel 環境給 jupyter
python -m ipykernel install --user --name python38_cuda_conda --display-name "python38_cuda_conda"

// 其餘指令如下:
// 移除指定環境
jupyter kernelspec remove python38_cuda_conda

// 查看所有環境
jupyter kernelspec list

// 對某個資料夾開啟 jupyter notebook
jupyter notebook

上一篇: [AI人工智能] 二、安裝python虛擬環境 + pytorch


#pycharm #Anaconda #change-env







Related Posts

Day04  增加資料(上) + RecycleView  Adapter

Day04 增加資料(上) + RecycleView Adapter

Day 8 - Function & Caesar Cipher

Day 8 - Function & Caesar Cipher

W12_API 自己做 [ BE101 ] 實作之一

W12_API 自己做 [ BE101 ] 實作之一


Comments